package face;

public class DvdPlayer {
    public void on() {
        System.out.println("打开dvd");
    }

    public void play(String movie) {
        System.out.println("播放电影:" + movie);
    }

    public void stop() {
        System.out.println("停止dvd");
    }

    public void eject() {
        System.out.println("弹出光碟");
    }

    public void off() {
        System.out.println("关闭dvd");
    }

    @Override
    public String toString() {
        return "xx牌dvd";
    }
}
